package cn.wang.service.cargo;

import cn.wang.entity.cargo.ContractProduct;
import cn.wang.entity.cargo.Factory;
import cn.wang.utils.Pagination;

import java.util.List;

/**
 * Created by john on 2017/11/1.
 * 部门分类
 */
public interface ContractProductService {


     Pagination findPage(int pageNo, int pageSize);

    List<Factory> findAll();

    void save(ContractProduct contractProduct);
    ContractProduct findById(String id);

    void update(ContractProduct model);

    void delete(String[] ids,String id);

    Pagination findPage1(int pageNo, int pageSize, String id);

    List<ContractProduct> findByshipTime(String inputDate);

    List<ContractProduct> findByContractids(String[] contractids);
}
